package com.dlc.shop.search.common.dao;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.dlc.shop.bean.param.EsProductParam;
import com.dlc.shop.bean.vo.search.ProductSearchVO;
import com.dlc.shop.common.util.PageParam;
import org.apache.ibatis.annotations.Param;

/**
 * @author gaozijie
 * @since 2024-03-12
 */
public interface EsProductMapper {

    /**
     * 分页查询Es商品信息
     * @param pageParam 分页参数
     * @param productParam 商品查询参数
     * @return Es商品分页数据
     */
    Page<ProductSearchVO> pageEsProduct(PageParam<ProductSearchVO> pageParam,
                                        @Param("param") EsProductParam productParam);
}
